package com.jy.modules.cims.data.interact.core.credit.request;

import java.util.List;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import org.hibernate.validator.constraints.NotBlank;

import com.jy.modules.cims.data.interact.core.BaseHeaderRequestDTO;


/**
 * @classname: Request4041DTO.java
 * @description: 合同机构债权转让二次购买Request
 */
public class Request4041DTO extends BaseHeaderRequestDTO {

	@NotBlank(message = "结算申请编号 applyCode不能为空")
	private String applyCode;
	
	@NotBlank(message = "申请人姓名 applyName不能为空")
	private String applyName;
	
	@NotBlank(message = "合作机构代码 cCode不能为空")
	private String cCode;

	@NotBlank(message = "业务类型bizType不能为空(2-债权转出 3-贷款转出)")
	private String bizType;
	
	private List<RequestRepaymentDTO> repaymentList;// 月还列表
	private List<RequestSettleDTO> settleList;// 提前结清列表

	@Valid
	@NotNull(message = "二次购买债权列表matchList不能为空")
	@Size(min = 1, message = "二次购买债权列表matchList不能为空")
	private List<RequestMatchCreditDTO> matchList;

	public String getApplyCode() {
		return applyCode;
	}

	public void setApplyCode(String applyCode) {
		this.applyCode = applyCode;
	}

	public String getApplyName() {
		return applyName;
	}

	public void setApplyName(String applyName) {
		this.applyName = applyName;
	}

	public String getCCode() {
		return cCode;
	}

	public void setCCode(String cCode) {
		this.cCode = cCode;
	}

	public String getBizType() {
		return bizType;
	}

	public void setBizType(String bizType) {
		this.bizType = bizType;
	}

	public List<RequestRepaymentDTO> getRepaymentList() {
		return repaymentList;
	}

	public void setRepaymentList(List<RequestRepaymentDTO> repaymentList) {
		this.repaymentList = repaymentList;
	}

	public List<RequestSettleDTO> getSettleList() {
		return settleList;
	}

	public void setSettleList(List<RequestSettleDTO> settleList) {
		this.settleList = settleList;
	}

	public List<RequestMatchCreditDTO> getMatchList() {
		return matchList;
	}

	public void setMatchList(List<RequestMatchCreditDTO> matchList) {
		this.matchList = matchList;
	}
}
